#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2023/12/8 23:10
# @Author : 闫峰
# @File    : exception.py

class HTTPRequestError(Exception):
    def __init__(self, status_code, message):
        self.status_code = status_code
        self.message = message


class MyCustomException(Exception):
    """自定义异常类"""
    def __init__(self, message):
        super().__init__(message)